<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>控制台_<{$sitetitle}></title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
<script src="<{$JS_PATH}>js/prototype.js"></script>
<script language="javascript" src="<{$JS_PATH}>js/admin.js"></script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;企业新闻管理</div></td></tr>
</table>
<br />

<!-- 搜索 -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header"><td colspan="6"><div align="left">企业新闻快搜</div></td></tr>
<form name="searchfrm" method="post" action="<{$smarty.server.PHP_SELF}>">
<tr>
  <td width="9%">新闻标题:</td>
  <td width="15%"><input name="topic2" type="text" id="topic2"></td>
  <td width="10%">会员名称:</td>
  <td><input name="membername2" type="text" id="membername2"></td>
  <td>公司名称:</td>
  <td><input name="companyname2" type="text" id="companyname2"></td>
  </tr>

<tr>
  <td colspan="6"><div align="center">
    <input name="search" type="submit" id="search" value="查    询" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'">
  </div></td>
  </tr>
</form>
</table>

<br />
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input name="idAll" type="checkbox" id="idAll" title="全选" onClick="uaCheckAll(this, 'id[]')"></td>
<td><strong>公司名称</strong></td>
<td><span>新闻标题 </span></td>
<td>状态</td>
<td><span>浏览量</span></td>
<td><strong>发布时间</strong></td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<{foreach from=$NewsList item=nl name=allnews}>
<tr bgcolor="<{cycle values=#eeeeee,#ffffff}>" align="center">
<td><input name="id[]" type="checkbox" id="id[]" onClick="uaCheckItem(this, 'idAll')" value="<{$nl.ID}>"></td>
<td><a href="company.php?action=mod&id=<{$nl.CompanyId}>" title="<{$nl.CompanyName}>"><{$nl.CompanyName|truncate:35}></a></td>
<td><a href="../news/detail.php?action=view&id=<{$nl.ID}>" title="查看前台页面" target="_blank"><{$nl.Topic|truncate:35}>
</a></td>
<td><{$nl.CompanynewsStatus}></td>
<td><{$nl.Click}></td>
<td><{$nl.PublishDate|date_format:"%Y-%m-%d"}></td>
<td colspan="2"><a href="./companynews.php?action=del&id=<{$nl.ID}>"><img src="<{$tpl_img_path}>admin/delete.gif" width="13" height="13" border="0"></a></td>
</tr>
<{foreachelse}>
<tr bgcolor="#ffffff">
<td colspan="8" align="center">目前没有任何数据</td>
</tr>
<{/foreach}>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="8"><{$ByPages}></td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="6"><input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="del" value="删除"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>

<!-- 结束new -->
</body>
</html>
